package com.design.pattern.creational.abstractfactory;

/**
 * description
 *
 * @author RenQiQiang 2019/02/15 14:46
 */
public class Test {

    public static void main(String[] args) {
        ProductFactory factory = new FirstProductFactory();
        ComponentA componentA = factory.makeCompoentA();
        ComponentB componentB = factory.makeComponentB();

        componentA.produce();
        componentB.produce();
    }
}
